﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddHouseDistrctImageGrid.aspx.cs" Inherits="FantastPlatform.Community.UI.InfoCollection.AddHouseDistrctImageGrid" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <script type="text/javascript">
         var ahdig = new FantastPlatform.UI.AddImageGrid({
             renderTo: 'ahdig_div',

             url: '../Service/HouseDistrictService.aspx?Action=SearchImage&id=' + '<%=GetId() %>',
             houseDistrictId: '<%=GetId() %>',
             height: 385,
             border: false,
             tbar: [{
                 text: '添加',
                 iconCls: 'add',
                 id: 'addBusinessImage',
                 tooltip: {
                     text: '添加商业店铺图片',
                     title: '添加商业店铺图片',
                     autoHide: true
                 },
                 handler: function () {
                     ahdig.onAddHouseDistrictClick(ahdig.houseDistrictId);
                 }
             }, '-', {
                 text: '编辑',
                 iconCls: 'edit',
                 id: 'editPersonDetail',
                 tooltip: {
                     text: '编辑商业店铺人员',
                     title: '编辑商业店铺人员',
                     autoHide: true
                 },
                 handler: function () { ahdig.onEditHouseDistrictClick(ahdig.houseDistrictId); }
             }, '-', {
                 text: '删除',
                 iconCls: 'delete',
                 id: 'deletePersonDetail',
                 handler: function () {
                    
                 }
             }, '-',
                {
                    text: '刷新',
                    iconCls: 'updata',
                    tooltip: {
                        text: '重新更新列表内容',
                        title: '列表刷新',
                        autoHide: true
                    },
                    handler: function () { ahdig.onUpdataBusinessImageClick(); }
                }]
         });
            ahdig.addListener('rowdblclick', function () { ahdig.onEditBusinessImageClick(); });
            ahdig.onUpdataBusinessImageClick();
    </script>
</head>
<body>
    <div id="ahdig_div">
    
    </div>
</body>
</html>
